﻿using System.Collections.Generic;
using Drill.Extensibility;
using Drill.TestSupport;
using Drill.TestSupport.Mocks.MockDrillBits;
using NUnit.Framework;

namespace Drill.Core
{
	[TestFixture]
	public class DrillChuckDependencyResolverWithMultipleProvidersTests : BaseDrillBitTests
	{
		protected override IDependencyResolver GetDependencyResolverInstanceToTest()
		{
			return new DrillChuckDependencyResolver(
					new DependencyResolverInitContext
					{
						Name = "Default"
					  ,
						DrillBits = 
							new List<IDrillBit>
								{
									new AutomobileDomainMockDrillBit()
								  , new SimpleDomainMockDrillBit()
								}
					}
				);
		}
	}
}